All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class quicktime.std.sg.SGVideoChannel

java.lang.Object
   |
   +----quicktime.QTObject
           |
           +----quicktime.std.comp.ComponentIdentifier
                   |
                   +----quicktime.std.comp.Component
                           |
                           +----quicktime.std.sg.SGChannel
                                   |
                                   +----quicktime.std.sg.VisualChannel
                                           |
                                           +----quicktime.std.sg.SGVideoChannel

public final class SGVideoChannel
extends VisualChannel
implements QuickTimeLib
Assists in importing video into a movie. The SGChannel implements methods for a corresponding QuickTime ComponentInstance structure. Refer to SGChannel in QuickTime Components


Constructor Index

 o SGVideoChannel(SequenceGrabber)
Creates a sequence grabber channel and assigns a channel component to the channel.

Method Index

 o digitizerChanged()
Allows you to notify the sequence grabber component whenever you change the configuration of a video channel's video digitizer.
 o getCompressor()
Get a channel’s current image-compression parameters.
 o getCompressorType()
Get the Video Compressor Type

QuickTime::SGGetVideoCompressorType QuickTime::SGGetVideoCompressorType

 o getDigitizerComponent()
Allows you to determine the video digitizer component that is providing source video to a video channel component.
 o getSrcVideoBounds()
Allows you to determine the size of the source video boundary rectangle.
 o getVideoRect()
Allows you to determine the portion of the source video image that is to be captured.
 o setCompressor(int, int, int, int, int)
Set a channel’s current image-compression parameters.
 o setCompressorType(int)
Set the type of Video Compressor

QuickTime::SGSetVideoCompressorType QuickTime::SGSetVideoCompressorType

 o setDigitizerComponent(VideoDigitizer)
Allows you to assign a video digitizer component to a video channel.
 o setVideoRect(QDRect)
Allows you to specify the portion of the source video image that is to be captured.

Constructors

 o SGVideoChannel
 public SGVideoChannel(SequenceGrabber owner) throws StdQTException
Creates a sequence grabber channel and assigns a channel component to the channel. The channel component is responsible for providing digitized data to the sequence grabber component.

QuickTime::SGNewChannel

Parameters:
owner - specifies the sequence grabber component the channel is attached to.

Methods

 o setCompressorType
 public void setCompressorType(int compressorType) throws StdQTException
Set the type of Video Compressor

QuickTime::SGSetVideoCompressorType QuickTime::SGSetVideoCompressorType

Parameters:
compressorType - sets the type of compressor to use on the channel.
 o getCompressorType
 public int getCompressorType() throws StdQTException
Get the Video Compressor Type

QuickTime::SGGetVideoCompressorType QuickTime::SGGetVideoCompressorType

Parameters:
compressorType - sets the type of compressor to use on the channel.
 o setCompressor
 public void setCompressor(int depth,
                           int compressor,
                           int spatialQuality,
                           int temporalQuality,
                           int keyFrameRate) throws StdQTException
Set a channel’s current image-compression parameters.

QuickTime::SGSetVideoCompressor QuickTime::SGSetVideoCompressor

Parameters:
depth - Specifies the depth at which the image is likely to be viewed.
compressor - Specifies the image compressor identifier.
spatialQuality - Specifies the desired compressed image quality.
temporalQuality - This parameter governs the level of compression you desire with respect to information between successive frames in the sequence.
keyFrameRate - Specifies the maximum number of frames allowed between key frames.
 o getCompressor
 public SGVideoCompressorInfo getCompressor() throws StdQTException
Get a channel’s current image-compression parameters.

QuickTime::SGGetVideoCompressor QuickTime::SGGetVideoCompressor

Parameters:
returns - a SGVideoCompressorInfo object.
 o getDigitizerComponent
 public VideoDigitizer getDigitizerComponent()
Allows you to determine the video digitizer component that is providing source video to a video channel component.

QuickTime::SGGetVideoDigitizerComponent QuickTime::SGGetVideoDigitizerComponent

Returns:
the Video Digitizer component or null if there is no video digitizer
 o setDigitizerComponent
 public void setDigitizerComponent(VideoDigitizer vdig) throws StdQTException
Allows you to assign a video digitizer component to a video channel.

QuickTime::SGSetVideoDigitizerComponent QuickTime::SGSetVideoDigitizerComponent

Parameters:
vdig - the digitizer component that identifies a connection to a video digitizer component.
 o digitizerChanged
 public void digitizerChanged() throws StdQTException
Allows you to notify the sequence grabber component whenever you change the configuration of a video channel's video digitizer.

QuickTime::SGVideoDigitizerChanged QuickTime::SGVideoDigitizerChanged

 o setVideoRect
 public void setVideoRect(QDRect r) throws StdQTException
Allows you to specify the portion of the source video image that is to be captured.

QuickTime::SGSetVideoRect QuickTime::SGSetVideoRect

Parameters:
r - the rectangle that defines the potion of the source video image to be captured.
 o getVideoRect
 public QDRect getVideoRect() throws StdQTException
Allows you to determine the portion of the source video image that is to be captured.

QuickTime::SGGetVideoRect QuickTime::SGGetVideoRect

Returns:
the rectangle that defines the portion of the source video being captured.
 o getSrcVideoBounds
 public QDRect getSrcVideoBounds() throws StdQTException
Allows you to determine the size of the source video boundary rectangle.

QuickTime::SGGetSrcVideoBounds QuickTime::SGGetSrcVideoBounds

Returns:
the rectangle that defines the size of the source video being captured.

All Packages  Class Hierarchy  This Package  Previous  Next  Index